package com.feiluan.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.util.MultiValueMap;

@Component
public class CaptureScreenService {

    @Autowired
    private BasicService basicService;

    public ResponseEntity<String> postRequest(MultiValueMap map) {
        String uri = "http://39.99.205.81:81/iot/infoScreen/captureSC";
        ResponseEntity<String> result = basicService.postProxy(uri, null, map, String.class);
        return result;
    }

}
